#ifndef __PLAYER_H_
#define __PLAYER_H_

#include "prop.h"
#include "Scene.h"
#include <DynamicArray.h>
struct Player
{
    int HP;
    int ATK;
    int x;
    int y;
    char symbol;
    int exp;
    int level;
    int golden;
    weapon *w;
    //背包系统
    DArray bag;
};
typedef struct Player player;

void InitPlayer(player *p);
void PrintPlayer(player *p);
void PlayerMove(player *p,char (*map)[MAPSZIE]);
void LevelUp(player *p);

void ShopInterFace(player *p);
void ShowBag(player *p);


#endif